import request from '@/utils/request/index.js'
export default {
	/**
	 * 获取产品
	 * @param {Object} id
	 */
	getProductInfoById(id) {
		return request.request({
			url: '/h5/nocproduct/info/' + id,
			method: 'get',
			data: {
				
			}
		})
	},
	/**
	 * 获取展商参加展会
	 * @param {Object} userId
	 */
	getExhibitionList(userId){
		return request.request({
			url : '/h5/exhibition/getExhibitionByUser',
			method: 'post',
			data: {
				userId : userId
			}
		})
	},
	updateProduct(product){
		return request.request({
			 url : '/h5/nocproduct/update',
			 method: 'post',
			 data: product
		})
	}
	
}